home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 October
/
PCWorld_1999-10_cd1.bin
/
Software
/
Servis
/
X-setup
/
_SETUP.1
/
XQ Show on Desktop.xpl
< prev
next >
Wrap
Text File
|
1999-07-21
|
3KB
|
116 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="6"
"COUNT"="5"
"UIPATH"="Appearance\Desktop\Icons"
"NAME"="Visible Icons #1"
"LANGUAGE"="VBScript"
"VERSION"="1.72"
"TEXT 1"="Recyle Bin"
"TEXT 2"="Internet Explorer (2.x/3.x)"
"TEXT 3"="Internet Explorer (4.x/5.x)"
"TEXT 4"="Inbox/Outlook"
"TEXT 5"="Win 95 Dial-up Network"
"DESCRIPTION 1"="To show an item on the desktop, activate it. To hide it, deactivate it."
"DESCRIPTION 2"="It might be necessary to activate the desktop and pressing the F5 key in order to see the changes."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
"COMMENT 2"=" "
"COMMENT 3"="Thanks to Siegfried Burgstedt for his fix!"
sPath="HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\"
sTC="{645FF040-5081-101B-9F08-00AA002F954E}" 'Trashcan
sIE="{FBF23B42-E3F0-101B-8488-00AA003E56F8}" 'Internet Explorer (old???)
sIB="{00020D75-0000-0000-C000-000000000046}" 'Inbox
sDN="{992CFFA0-F557-101A-88EC-00DD010CCC48}" 'Dial-up Network
sIE4="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoInternetIcon"
Sub Plugin_Initialize
if RegPathExists(sPath & sTC) then SetUIElement 1,true
if RegPathExists(sPath & sIE) then SetUIElement 2,true
if RegPathExists(sPath & sIB) then SetUIElement 4,true
if RegPathExists(sPath & sDN) then SetUIElement 5,true
'IE 4 stuff!
i=RegReadValue(sIE4)
if IsEmpty(i) or i="00000000" then SetUIElement 3,true
'if RegPathExists(sPath & sMN) then SetUIElement 5,true
'if RegPathExists(sPath & sM2) then SetUIElement 5,true
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue(sPath & sTC & "\@","",1)
else
if RegPathExists(sPath & sTC) then
Call RegDeletePath(sPath & sTC)
end if
end if
b=GetUIElement(2)
if b=true then
Call RegWriteValue(sPath & sIE & "\@","",1)
else
if RegPathExists(sPath & sIE) then
Call RegDeletePath(sPath & sIE)
end if
end if
b=GetUIElement(3)
if b=true then
Call RegWriteValue(sIE4,"00000000",3)
else
Call RegWriteValue(sIE4,"01000000",3)
end if
b=GetUIElement(4)
if b=true then
Call RegWriteValue(sPath & sIB & "\@","",1)
else
if RegPathExists(sPath & sIB) then
Call RegDeletePath(sPath & sIB)
end if
end if
b=GetUIElement(5)
if b=true then
Call RegWriteValue(sPath & sDN & "\@","",1)
else
if RegPathExists(sPath & sDN) then
Call RegDeletePath(sPath & sDN)
end if
end if
Call Logoff
'//Old MSN Stuff!
' b=GetUIElement(5)
' if b=true then
' Call RegWriteValue(sPath & sMN & "\@","",1)
' else
' if RegPathExists(sPath & sMN) then
' Call RegDeletePath(sPath & sMN)
' end if
'
' if RegPathExists(sPath & sM2) then
' Call RegDeletePath(sPath & sM2)
' end if
' end if
End Sub
Sub Plugin_Terminate
End Sub